﻿using System;
using ATMConst;

namespace Package
{
	[Serializable]
	public class HelloPackage : Package
	{
		public enum NodeType { NNI = 0, UNI = 1 };
		public string name { get; private set; }
		public NodeType type { get; private set; }
		public HelloPackage(Object data, string name,NodeType type)
			: base(Const.Code.HELLO, data)
		{
			this.name = name;
			this.type = type;
		}
	}
}
